﻿Imports System.ComponentModel
'''
<DefaultPropertyAttribute("Cable ID")> _
Public Class CLDS_Cable_Properties
    Private _ID As String
    Private _FDevice As String
    Private _FNode As String
    Private _TDevice As String
    Private _TNode As String
    Private _Segregation As String
    Private _MUN As String
    Private _Status As String
    <CategoryAttribute("Cable"), _
       Browsable(False), _
       [ReadOnly](True), _
       BindableAttribute(False), _
       DefaultValueAttribute(""), _
       DesignOnly(False), _
       DescriptionAttribute("Unique cable ID")> _
       Public Property ID() As String
        Get
            Return _ID
        End Get
        Set(ByVal Value As String)
            _ID = Value
        End Set
    End Property
    <CategoryAttribute("Cable"), _
       Browsable(True), _
       [ReadOnly](True), _
       BindableAttribute(False), _
       DefaultValueAttribute(""), _
       DesignOnly(False), _
       DescriptionAttribute("Segregation code")> _
       Public Property Segregation() As String
        Get
            Return _Segregation
        End Get
        Set(ByVal Value As String)
            _Segregation = Value
        End Set
    End Property
    <CategoryAttribute("Cable"), _
       Browsable(True), _
       [ReadOnly](True), _
       BindableAttribute(False), _
       DefaultValueAttribute(""), _
       DesignOnly(False), _
       DisplayName("Type"), _
       DescriptionAttribute("Cable type code")> _
       Public Property MUN() As String
        Get
            Return _MUN
        End Get
        Set(ByVal Value As String)
            _MUN = Value
        End Set
    End Property
    <CategoryAttribute("Cable"), _
       Browsable(True), _
       [ReadOnly](True), _
       BindableAttribute(False), _
       DefaultValueAttribute(""), _
       DesignOnly(False), _
       DescriptionAttribute("Route status")> _
       Public Property Status() As String
        Get
            Return _Status
        End Get
        Set(ByVal Value As String)
            _Status = Value
        End Set
    End Property
    <CategoryAttribute("From"), _
       Browsable(True), _
       [ReadOnly](True), _
       BindableAttribute(False), _
       DefaultValueAttribute(""), _
       DesignOnly(False), _
       DisplayName("From device"), _
       DescriptionAttribute("Device at cable from-end")> _
       Public Property FDevice() As String
        Get
            Return _FDevice
        End Get
        Set(ByVal Value As String)
            _FDevice = Value
        End Set
    End Property
    <CategoryAttribute("From"), _
       Browsable(True), _
       [ReadOnly](True), _
       BindableAttribute(False), _
       DefaultValueAttribute(""), _
       DesignOnly(False), _
       DisplayName("From node"), _
       DescriptionAttribute("Node at cable from-end")> _
       Public Property FNode() As String
        Get
            Return _FNode
        End Get
        Set(ByVal Value As String)
            _FNode = Value
        End Set
    End Property
    <CategoryAttribute("To"), _
       Browsable(True), _
       [ReadOnly](True), _
       BindableAttribute(False), _
       DefaultValueAttribute(""), _
       DesignOnly(False), _
       DisplayName("To device"), _
       DescriptionAttribute("Device at cable to-end")> _
       Public Property TDevice() As String
        Get
            Return _TDevice
        End Get
        Set(ByVal Value As String)
            _TDevice = Value
        End Set
    End Property
    <CategoryAttribute("To"), _
       Browsable(True), _
       [ReadOnly](True), _
       BindableAttribute(False), _
       DefaultValueAttribute(""), _
       DesignOnly(False), _
       DisplayName("To node"), _
       DescriptionAttribute("Node at cable to-end")> _
       Public Property TNode() As String
        Get
            Return _TNode
        End Get
        Set(ByVal Value As String)
            _TNode = Value
        End Set
    End Property
End Class
